﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TVXD23.Web.Models.ViewModel.DepartmentsModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Chi tiết
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link href="../../Content/css/commonCss.css" rel="stylesheet" type="text/css" />

    <h2>Chi tiết phòng</h2>

    <fieldset>
        <legend>Thông tin chi tiết</legend>
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <th style="width:20%;"> <div class="display-label">Mã phòng:</div></th> 
                <th style="width:60%;"> <div class="display-field"><%: Model.departmentId %></div></th>
            </tr>
             <tr>
                <th style="width:20%;"><div class="display-label">Tên phòng:</div></th>
                <th style="width:60%;"><div class="display-field"><%: Model.Name %></div></th>               
             </tr>
              <tr> 
                 <th style="width:20%;"> <div class="display-label">Mô tả chi tiết:</div></th>
                <th style="width:60%;"> <div class="display-field"><%: Model.Description %></div></th>
              </tr>
              <tr>
                 <th style="width:20%;"><div class="display-label">Ngày thành lập:</div></th>
                <th style="width:60%;"> <div class="display-field"><%: String.Format("{0:g}", Model.DateCreate) %></div></th>
              </tr>
              
        </table>
               
    </fieldset>
    <p>
         <%: Html.ActionLink("Sữa thông tin", "EditDepart", new { id = Model.departmentId })%> |
        <%: Html.ActionLink("Quay về danh sách", "Index") %>
    </p>

</asp:Content>

